package com.husd.framework.autocode.dto;

import lombok.Data;

import java.util.List;

/**
 * @author shengdonghu@126.com
 * @date 2023/4/23 09:42
 */
@Data
public class ClassDefine {

    public static final ClassDefine BOOLEAN = new ClassDefine("class","Boolean");
    public static final ClassDefine STRING = new ClassDefine("class","String");
    public static final ClassDefine INTEGER = new ClassDefine("class","Integer");
    public static final ClassDefine SHORT = new ClassDefine("class","Short");
    public static final ClassDefine LONG = new ClassDefine("class","Long");
    public static final ClassDefine DOUBLE = new ClassDefine("class","Double");
    public static final ClassDefine BYTE = new ClassDefine("class","Byte");
    public static final ClassDefine CHAR = new ClassDefine("class","Char");

    private String packageName;
    private List<String> importList;
    private List<String> annotationList;
    private String classType = "class";
    private String className;
    private String parentClassName;

    /**
     * 属性列表
     */
    private List<ClassFieldDefine> fieldList;

    public ClassDefine() {
    }

    public ClassDefine(String classType, String className) {
        this.classType = classType;
        this.className = className;
    }


}
